package com.sunnada.edu.system.quartz.timers;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.stereotype.Service;

import com.sunnada.edu.business.attendance.service.AttendanceMethods;

/**
 * 描述 定时器任务：每天考勤统计
 * 
 * @author Session Zhang
 * @created 2016年3月7日 下午3:54:22
 */
@Service
public class AttendanceMonit implements Job {
	Logger log  =  Logger.getLogger(AttendanceMonit.class );
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		log.info("------------[当前时间："+context.getFireTime()+"[每天考勤统计]----------------");
		AttendanceMethods.AttendanceStatistics(null);
	}

	
	

}
